package com.share.payment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.share.payment.domain.PaymentInfo;
import com.wechat.pay.java.service.payments.model.Transaction;

public interface PaymentService extends IService<PaymentInfo> {
    PaymentInfo savePaymentInfo(String orderNo);
    void updatePaymentStatus(Transaction transaction);
    // 根据订单号查询支付信息的方法
    PaymentInfo getPaymentInfoByOrderNo(String orderNo);
}
